package com.txx.myspringboot.web.contorller;

import com.txx.myspringboot.web.service.InitializerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @创建人 tuxx
 * @创建时间 2020/5/8
 * @描述
 */
@RestController
@RequestMapping("/one")
public class InitializerContorller {

    @Autowired
    private InitializerService initializerService;

    @RequestMapping("/t1")
    public String test(){
       return initializerService.testInitializer();
    }
}
